/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.common.excel.convert.ExcelDictConvert;
import com.comac.ins.isfd.domain.IsfdAlgorithmConfig;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 算法配置存储视图对象 isfd_algorithm_config
 *
 * @author hxloongs
 * @date 2025-05-12
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdAlgorithmConfig.class)
public class IsfdAlgorithmConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 对象存储主键
     */
    @ExcelProperty(value = "对象存储主键")
    private Long id;

    /**
     * 算法名称
     */
    @ExcelProperty(value = "算法名称")
    private String algorithmName;

    /**
     * 算法业务类型：section（型材算法）
     */
    @ExcelProperty(value = "算法业务类型：section", converter = ExcelDictConvert.class)
    private String algorithmType;

    /**
     * 实现语言：python、javascript
     */
    @ExcelProperty(value = "实现语言：python、javascript")
    private String algorithmLanguage;

    /**
     * 入参，以json格式
     */
    private String param;

    /**
     * 算法实现代码或脚本
     */
    @ExcelProperty(value = "算法实现代码或脚本")
    private String implementation;

    /**
     * 算法描述
     */
    @ExcelProperty(value = "算法描述")
    private String description;

    /**
     * 是否为默认算法，0-默认，1-手动新增
     *
     * @see com.comac.ins.isfd.constant.enums.IsfdAlgorithmConfigIsDefaultEnum
     */
    private Integer isDefault;
}
